package org.chen.service;

import org.chen.common.request.LoginRequest;
import org.chen.common.response.LoginResponse;
import org.chen.common.user.User;

import javax.servlet.http.HttpServletRequest;


public interface LoginService {

    /**
     * 账号密码登录
     * @return LoginResponse
     */
    LoginResponse login(LoginRequest loginRequest);

    /**
     * 推出登录
     * @param request HttpServletRequest
     */
    void loginOut(HttpServletRequest request);
}
